![]() |
DMDisposeDisplay |
||||
Header: | Displays.h | Carbon status: | Supported | |
Disposes of the GDevice structure for a video device.
OSErr DMDisposeDisplay ( GDHandle disposeDevice, Handle displayState );
A handle to the GDevice structure for a video device you want to delete.
If your application called DMBeginConfigureDisplays, you must pass the displayState handle obtained. Otherwise pass NULL in this parameter.
A result code.
The DMDisposeDisplay function disposes of a GDevice structure, releases the space allocated for it, and disposes of all the data structures allocated for it. The Display Manager calls this function when appropriate.
Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.
Generally, your application should not use this function, but should instead allow system software to maintain the device list. This function is described here for completeness only.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)